package com.fortune.enums;

/**
 * Created by Administrator on 2018/6/14 0014.
 */
public enum DSalesmanSettingEnum {
    SUCCESS(true,"查询成功"),
    SUCCESSFAIL(false,"查询结果为空"),
    FAIL(false,"查询失败"),
    ADD_SUCCESS(true,"新增成功"),
    ADD_FAIL(false,"新增失败"),
    EDIT_SUCCESS(true,"编辑成功"),
    EDIT_FAIL(false,"编辑失败");

    private boolean status;
    private String msg;
    DSalesmanSettingEnum(boolean status,String msg){
        this.status = status;
        this.msg = msg;
    }
    public boolean isStatus() {
        return status;
    }
    public void setStatus(boolean status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
